package com.shyroke.daydayzhuandao.respository;

import com.shyroke.daydayzhuanapi.entity.CommentEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentRepository extends BaseRepository<CommentEntity,Integer>{
    List<CommentEntity> findByStatusAndArticleIdOrderByIdDesc(int statis, Integer projectId);

    List<CommentEntity> findByStatusAndArticleId(int i, Integer articleId);
}
